package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineRt;
import io.bdmc.modules.bss.mapper.DeviceMachineRtMapper;
import io.bdmc.modules.bss.service.IDeviceMachineRtService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * rt盘数据 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-04-28
 */
@Service
public class DeviceMachineRtServiceImpl extends ServiceImpl<DeviceMachineRtMapper, DeviceMachineRt>
        implements IDeviceMachineRtService {
    @Autowired
    DeviceMachineRtMapper _devicemachinertMapper;

    @Override
    public MyPage<DeviceMachineRt> mySelectPage(MyPage<DeviceMachineRt> myPage) {
        return _devicemachinertMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineRt selectLastRtData(String sn) {
        return _devicemachinertMapper.selectLastRtData(sn);
    }

    @Override
    public MyPage<DeviceMachineRt> selectPage(MyPage<DeviceMachineRt> rtPage, QueryWrapper<DeviceMachineRt> w6) {
        return _devicemachinertMapper.selectPage(rtPage, w6);
    }
}
